
# m3g-reader-writer srcs
file (GLOB M3G_READER_WRITER_SRCS *.cpp)

# m3g-reader-writer headers
file (GLOB M3G_READER_WRITER_HEADERS *.hpp)

# m3g-reader-writer target
add_library (m3g-reader-writer STATIC ${M3G_READER_WRITER_SRCS})

# dependent libraries
config_project (m3g-reader-writer ZLIB)

# installer
install (FILES ${M3G_READER_WRITER_HEADERS}  DESTINATION include/m3g)
install (TARGETS m3g-reader-writer ARCHIVE DESTINATION lib/linux)


# m3g-reader-writer include directory
set (M3G_READER_WRITER_INCLUDE_DIR ${CMAKE_CURRENT_BINARY_DIR})


# m3g-reader-writer lib directory
set (M3G_READER_WRITER_LIB_DIR ${CMAKE_CURRENT_BINARY_DIR})



